<template>
  <div>
    <h1>App</h1>
    <!-- 
      给组件绑定事件都是自定义事件

      给组件绑定原生DOM事件
        @click.native="handleClick"
     -->
    <Child @click.native="handleClick" @aaa="handleClick" @bbb="handleClick" />
  </div>
</template>

<script>
import Child from "./Child.vue";

export default {
  name: "App",
  components: {
    Child,
  },
  methods: {
    handleClick() {
      console.log(111);
    },
  },
};
</script>

<style>
</style>